package com.zzh.utils;


import com.zzh.interfaces.BusinessExceptionAssert;
import lombok.AllArgsConstructor;
import lombok.Getter;


@Getter
@AllArgsConstructor
public enum ErrorCode implements BusinessExceptionAssert {
    INVALID_REQ_PARAMS("000400", "参数无效"),
    PERMISSION_DENY("000403","无权访问"),
    NO_FOUND("000404","页面不存在"),
    SERVER_EXCEPTION("000500", "服务器异常，请稍后重试"),
    SYSTEM_ERROR("000501", "系统错误，请稍后重试"),
    QUERY_TIME_INVALID("000400", "无效时间格式"),
    TYPE_MISMATCH("000400", "参数%s数据类型错误"),
    REQUIRED_REQUEST_BODY_MISSING("000400", "无法获取到提交的数据，请确认提交方式是否有误"),
	;
	
    private String code;
    
    private String msg;
}
